import React, { Component } from 'react'
import './index.css'
import TextLoop from "react-text-loop";

class TextLoopPage extends Component{
  constructor(props){
    super(props);
  }

  render(){
    return (
      <div>
        <h2>
          <TextLoop springConfig={{stiffness:340,damping:30}} mask={true} fade={true} adjustingSpeed={150} delay={2000} interval={[2000,2000,2000]}>
            <span>111111111111111111</span>
            <span>222222222222222222</span>
            <span>333333333333333333</span>
          </TextLoop>
        </h2>
      </div>
    )
  }
}

export default TextLoopPage
